/**
 * @projectName: petJoyHome
 * @author: 小飞
 * @description: TODO
 * @date: 2024/3/1 14:38
 * @version: 1.0
 */
package com.home.result;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 状态码的枚举类
 */
@Getter
@AllArgsConstructor
public enum ResultCode {

    SUCCESS(200,"请求成功!"),
    FAILED(500,"请求失败!"),
    NOT_LOGIN(401,"您尚未登录,请登录后再试!"),
    NO_DENATIONALISED(403,"暂无访问权限,请联系管理员!");
    private final int code;
    private final String msg;
}
